package com.lagou.repository;

import com.lagou.entity.ResumeEntity;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface ResumeRepository extends MongoRepository<ResumeEntity, String> {
    ResumeEntity findByName(String name);
    void deleteByNameIsLike(String name);
}
